<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><s:text name="title"/></title>
<link href="<%=request.getContextPath()%>/stage/css/inside.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/stage/js/jquery-1.4.2.min.js"></script>
<script type="text/JavaScript">
<!--
function add(batch,price){
	var server ="<%=request.getContextPath()%>/adddia.action";
	$.post(server,{batch:batch,price:price});  
	alert("订单加入成功.");
}
function totmporder(batch,price){
	add(batch,price);
	window.location.href="<%=request.getContextPath()%>/totmporder.action";
}
//-->
</script>
</head>

<body onload="MM_preloadImages('<%=request.getContextPath()%>/stage/images/menu0_01.jpg','<%=request.getContextPath()%>/stage/images/menu0_02.jpg','<%=request.getContextPath()%>/stage/images/menu0_03.jpg','<%=request.getContextPath()%>/stage/images/menu0_04.jpg','<%=request.getContextPath()%>/stage/images/menu0_05.jpg','<%=request.getContextPath()%>/stage/images/menu0_06.jpg','<%=request.getContextPath()%>/stage/images/menu0_07.jpg')">
<div class="mainbody">
<%@ include file="head1.jsp"%>
 <div class="intermediate">
    <h1>当前位置：首页&nbsp;&gt;&nbsp;<b><FONT COLOR="#FFCC66">钻石明细</FONT></b></h1>
<%@ include file="left.jsp"%>
    <div class="right">
         <h4><img src="<%=request.getContextPath()%>/stage/images/xzzt/sle_dia.png" width="132" height="16" /></h4>
		 <div class="jgkz_bt">
		    <ul>
		       <li><img src="<%=request.getContextPath()%>/stage/images/xzzt/sle_dia1.png" width="87" height="29" /></li>
			   <li><img src="<%=request.getContextPath()%>/stage/images/zscx/zscx_14.jpg" width="35" height="29" /></li>
			   <li><img src="<%=request.getContextPath()%>/stage/images/xzzt/sle_rang.png" width="87" height="29" /></li>
			   <li><img src="<%=request.getContextPath()%>/stage/images/zscx/zscx_14.jpg" width="35" height="29" /></li>
			   <li><img src="<%=request.getContextPath()%>/stage/images/zscx/zscx_11.jpg" width="87" height="29" /></li>
           </ul>
	  </div>
      <div class="xztz_ny">
		    <div class="jgkz_left"><img src="<s:text name="web_pic"/>/diamond/diamond.jpg"/></div>
		 <div class="jgkz_right">
		     <ul>
			    <li>编号：<s:property value="diaBo.batch"/></li>
				<li>重量：<s:property value="diaBo.weight"/></li>
				<li>价格：<s:property value="diaBo.buyPriceFomat"/></li>
				<li>颜色级别：<s:property value="diaBo.color"/></li>
				<li>净度级别：<s:property value="diaBo.clarity"/></li>
				<li>切工：<s:property value="diaBo.finalCut"/></li>
				<li>抛光：<s:property value="diaBo.polish"/></li>
				<li>对称：<s:property value="diaBo.symmetry"/></li>
				<li>荧光：<s:property value="diaBo.fluor"/></li>
				<li>证书：<a href="<s:property value="diaBo.certificateLink"/>"><s:property value="diaBo.lab"/>:<s:property value="diaBo.reportNo"/></a></li>
				<li>
				  <label>
				  <input type="image" src="<%=request.getContextPath()%>/stage/images/zscx/jrdj1.gif" onclick="add('<s:property value="diaBo.batch"/>','<s:property value="diaBo.buyPrice"/>')"/>
				  </label>
				  <label>
				  <input type="image" src="<%=request.getContextPath()%>/stage/images/zscx/order1.gif" onclick="totmporder('<s:property value="diaBo.batch"/>','<s:property value="diaBo.buyPrice"/>')"/>
				  </label>
				</li>
			 </ul>
	    </div>
	  </div>
    </div>
 </div>
 <%@ include file="foot.jsp"%>
</div>
</body>
</html>
